package com.klasster.recruitmentPlatform.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.klasster.recruitmentPlatform.domain.po.Company;
import com.klasster.recruitmentPlatform.service.CompanyService;
import com.klasster.recruitmentPlatform.service.mapper.CompanyMapper;
import org.springframework.stereotype.Service;

@Service
public class CompanyServiceImpl extends ServiceImpl<CompanyMapper, Company> implements CompanyService {

    public Company getByCompanyName(String company_name) {
        return baseMapper.selectByCompanyName(company_name);
    }
    public Company getByOwnerID(Long owner_id) {
        return baseMapper.selectByOwnerID(owner_id);
    }


}
